
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
      
  <ui:composition>
  
    <f:loadBundle basename="com.copractice.web.messages" var="msg"/>
  
    <rich:tabPanel styleClass="cpbody" height="100%">
      <rich:tab>
        <f:facet name="label">
          <h:outputText value="#{msg['tab.categories']}"/>
        </f:facet>
        
        <ui:include src="categories.xhtml"/>
      </rich:tab>
      <rich:tab>
        <f:facet name="label">
          <h:outputText value="#{msg['tab.create']}"/>
        </f:facet>
      
        <ui:include src="create.xhtml"/>
      </rich:tab>
      <rich:tab label="Third">
        <f:facet name="label">
          <h:outputText value="#{msg['tab.analyze']}"/>
        </f:facet>
      
        Here is tab #3
      </rich:tab>
    </rich:tabPanel>
  </ui:composition>
  
</html>